
<div class="feedback-page">
  <form #form="ngForm" (ngSubmit)="pubFeedback()" role="form" novalidate>
    <div class="form-group">
      <textarea placeholder="您遇到什么系统问题，或有什么功能建议吗？欢迎提给我们，我们会及时的处理， 并将处理结果及时回复给您，谢谢！" class="form-control radius-no" [(ngModel)]="contact.comment" name="comment" rows="8" required></textarea>
    </div>
    <div class="col-xs-12">
      <div class="form-group">

        <button type="submit" *ngIf="!status" class="btn btn-green btn-lg btn-block btn-success" >
          确认提交
        </button>
        <button type="button" *ngIf="status" class="btn btn-green btn-lg btn-block btn-success" >
          <span class="icon icon-success"></span>提交成功
        </button>
      </div>
    </div>
  </form>
</div>


<div class="modal wi-modal {{dialogStatus ? 'show' : ''}}" tabindex="-1" role="dialog">
  <div class="modal-dialog" role="document">
    <div class="modal-content">

      <div class="modal-body">
        <span class="icon"></span>
        <p>提交失败</p>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-green btn-lg btn-block" (click)="closed()">确认</button>
      </div>
    </div><!-- /.modal-content -->
  </div><!-- /.modal-dialog -->
</div>
